;
var db = require("../../javascript/mysql");
var mysql = new db.mysqlClient("accident");
function genProductInfo() {
    plan = {
        planA: {
            "name": "滑雪意外伤害保险",
            "company": "安心互联网保险",
            "days": "3d",
            "people_count": "1",
            "accident_death": "100000",
            "accident_medical": "10000",
            "price": "6.50"

        },
        planB: {
            "name": "滑雪意外伤害保险",
            "company": "安心互联网保险",
            "days": "1y",
            "people_count": "1",
            "accident_death": "100000",
            "accident_medical": "10000",
            "price": "100.00"

        }


    }
    for( k in plan ){ data = plan[k];mysql.insertData( data )}mysql.close()
}
genProductInfo();